/**
 * File    : LoginCredentials.java
 * Created : 2008-10-17
 * By      : LuHuiguo
 */
package com.luhuiguo.sso.web.model;

import org.apache.tapestry5.beaneditor.DataType;
import org.apache.tapestry5.beaneditor.Validate;

/**
 * @author LuHuiguo
 * @version $Id: LoginCredentials.java 16 2008-10-17 13:13:27Z LuHuiguo $
 * 
 */
public class LoginCredentials {

	@Validate("required")
	private String username;

	@Validate("required")
	@DataType("password")
	private String password;

	private boolean rememberMe;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isRememberMe() {
		return rememberMe;
	}

	public void setRememberMe(boolean rememberMe) {
		this.rememberMe = rememberMe;
	}

}
